Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Better logging (on upstream) #283

Merged
merged 6 commits into from
Nov 27, 2019
Merged

Better logging (on upstream) #283

merged 6 commits into from
Nov 27, 2019

Conversation

hannesa2
Copy link
Contributor

@hannesa2 hannesa2 commented Nov 21, 2019

It's the requested PR on your repo instead of #275

Requested here owncloud/android#2725 (comment)

Implements owncloud/android#2730
Needed for owncloud/android#2725

}
if (!directory.exists())
directory.mkdirs()
Timber.plant(FileLoggingTree(directory, filename = storagePath, delegator = Log_OC::class.java))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an idea for owncloud/android#2725 (comment):
Don't use filename and specify context then the file hast as prefix the package name.

@davigonz davigonz merged commit 3d7a04a into master Nov 27, 2019
@delete-merged-branch delete-merged-branch bot deleted the BetterLogging branch November 27, 2019 17:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants